package com.ssy.lingxi.order.model.vo.common.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 商品上架指引 - 查询商品是否配置了交易流程接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2022-01-17
 */
public class OrderProductPriceTypeVO implements Serializable {
    private static final long serialVersionUID = 5184355615857027527L;

    /**
     * 商品Id
     */
    @NotNull(message = "商品Id要大于0")
    @Positive(message = "商品Id要大于0")
    private Long productId;

    /**
     * 商品SkuId
     */
    @NotNull(message = "商品SkuId要大于0")
    @Positive(message = "商品SkuId要大于0")
    private Long skuId;

    /**
     * 商品定价类型，1-现货价格，2-需要询价，3-积分商品，4-赠品
     */
    private Integer priceType;

    /**
     * 是否跨境商品
     */
    private Boolean crossBorder;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Integer getPriceType() {
        return priceType;
    }

    public void setPriceType(Integer priceType) {
        this.priceType = priceType;
    }

    public Boolean getCrossBorder() {
        return crossBorder;
    }

    public void setCrossBorder(Boolean crossBorder) {
        this.crossBorder = crossBorder;
    }
}
